We dont care about the REPO_SLUG

Dominik Sander 10 years ago
parent
commit
3a527dc2bf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      script/cached-bundle

+ 2 - 2
script/cached-bundle

@@ -30,7 +30,7 @@ download() {
30 30
 bundle_path="vendor/bundle"
31 31
 gemfile_hash="$(compute_md5 <"${BUNDLE_GEMFILE:-Gemfile}.lock")"
32 32
 cache_name="${TRAVIS_RUBY_VERSION}-${gemfile_hash}.tgz"
33
-fetch_url="http://${AMAZON_S3_BUCKET}.s3.amazonaws.com/${TRAVIS_REPO_SLUG}/${cache_name}"
33
+fetch_url="http://${AMAZON_S3_BUCKET}.s3.amazonaws.com/${cache_name}"
34 34
 
35 35
 if download "$fetch_url" "$cache_name"; then
36 36
   echo "Reusing cached bundle ${cache_name}"
@@ -42,5 +42,5 @@ bundle "$@"
42 42
 if [ ! -f "$cache_name" ]; then
43 43
   echo "Caching \`${bundle_path}' to S3"
44 44
   tar czf "$cache_name" "$bundle_path"
45
-  script/s3-put "$cache_name" "${AMAZON_S3_BUCKET}:${TRAVIS_REPO_SLUG}/${cache_name}"
45
+  script/s3-put "$cache_name" "${AMAZON_S3_BUCKET}:${cache_name}"
46 46
 fi